package cn.ekuma.epos.symmetricds.bean;

import cn.ekuma.data.dao.bean.CompositeKey;
import cn.ekuma.data.dao.bean.I_BaseBean;

public class TriggerRouter extends org.jumpmind.symmetric.model.TriggerRouter implements I_BaseBean<CompositeKey>{
    private String trigerId;
    private String routerId;
	
	@Override
	public CompositeKey getKey() {
		return CompositeKey.instance(getTrigger().getTriggerId(),getRouter().getRouterId());
	}

	public String getTrigerId() {
		return trigerId;
	}

	public void setTrigerId(String trigerId) {
		this.trigerId = trigerId;
	}

	public String getRouterId() {
		return routerId;
	}

	public void setRouterId(String routerId) {
		this.routerId = routerId;
	}
	
	
	
}
